package com.aaa.forum.model;

import lombok.Data;

import java.util.Date;

@Data
public class Article {
    private Long id;

    private Long boardId;

    private Long userId;

    private String title;

    private Integer visitCount;

    private Integer replyCount;

    private Integer likeCount;

    private Integer markCount;

    private Byte state;

    private Byte deleteState;

    private Date createTime;

    private Date updateTime;

    private String content;

    // 关联作者
    private User user;

    // 关联板块
    private Board Board;

    // 用户点赞状态
    private Byte likeState;

    // 用户收藏状态
    private Byte markState;

    // 收藏id
    private Long markId;
}